<?php if($this->session->userdata("type_user") == "user") { ?>
<div><a href="<?php echo base_url();?>profile/change_password" title="change password">Change Password</a></div>
<div><a href="<?php echo base_url();?>profile" title="personal detail">Personal Detail</a></div>
<hr />
<div><a href="<?php echo base_url();?>home/logout" title="logout">Logout</a></div>
<?php }else if($this->session->userdata("type_user") == "admin"){ ?>
<div><a href="<?php echo base_url();?>profile/change_password" title="change password">Change Password</a></div>
<hr />
<div><a href="<?php echo base_url();?>admin/user/karyawan" title="daftar pegawi">Daftar Pegawai</a></div>
<div><a href="<?php echo base_url();?>admin/manage_admin" title="atur pegawai">Tambah Pegawai</a></div>
<hr />
<div><a href="<?php echo base_url();?>home/logout" title="logout">Logout</a></div>
<?php }else if($this->session->userdata("type_user") == "superadmin"){ ?>
<div><a href="<?php echo base_url();?>profile/change_password" title="change password">Change Password</a></div>
<hr />
<div><a href="<?php echo base_url();?>admin/user" title="registered user">Registered User</a></div>
<div><a href="<?php echo base_url();?>admin/order" title="order list">Order List</a></div>
<hr />
<div><a href="<?php echo base_url();?>admin/system/contact" title="contact us">Contact Us</a></div>
<div><a href="<?php echo base_url();?>admin/system/about" title="about us">About Us</a></div>
<div><a href="<?php echo base_url();?>admin/system/privacy" title="privacy">Privacy</a></div>
<div><a href="<?php echo base_url();?>admin/system/terms" title="terms and condition">Terms and Condition</a></div>
<div><a href="<?php echo base_url();?>admin/system/faq" title="faq">FAQ</a></div>
<hr />
<div><a href="<?php echo base_url();?>admin/polling" title="view polling">View Polling Result</a></div>
<div><a href="<?php echo base_url();?>home/logout" title="logout">Logout</a></div>
<?php } ?>